#include<stdio.h>
int main()
{
	int i,n,count,age[70];		
	float avg;
	printf("Input the student number:\n");
	scanf("%d",&n);			
	for(avg=0,i=0;i<n;i++)		
	{
		scanf("%d",&age[i]);
		avg+=age[i];
	}
	avg/=n;					
	count=0;					
	for(i=0;i<n;i++)			
		if (age[i]<avg)
			count++;
	printf("Average age is:%lf\nThe number is:%d",avg,count);
 	return 0;
}
